/*****************************************************************************************
   
   Copyright (c) Microsoft Corporation. All rights reserved.

   Use of this code sample is subject to the terms of the Microsoft
   Permissive License, a copy of which should always be distributed with
   this file.  You can also access a copy of this license agreement at:
   http://www.microsoft.com/resources/sharedsource/licensingbasics/permissivelicense.mspx

 ****************************************************************************************/

using System;

namespace GrooveWebServicesV12Helpers
{
	public class Organization
	{
		private GrooveWebServicesV12Helpers.VCard m_VCard;

		private string m_Role;
		private string m_Title;
		
		private GrooveVCardWebService.OrganizationInfo[] m_OrganizationInfos;

		public Organization(GrooveWebServicesV12Helpers.VCard i_VCard, GrooveVCardWebService.Organization i_Organization)
		{
			m_OrganizationInfos = i_Organization.OrganizationInfos;
			m_Role = i_Organization.Role;
			m_Title = i_Organization.Title;

			m_VCard = i_VCard;
		}

		public GrooveVCardWebService.OrganizationInfo[] OrganizationInfos
		{
			get
			{
				return m_OrganizationInfos;
			}
		}

		public string Role
		{
			get
			{
				return m_Role;
			}
		}

		public string Title
		{
			get
			{
				return m_Title;
			}
		}

		public GrooveWebServicesV12Helpers.VCard VCard
		{
			get
			{
				return m_VCard;
			}
		}

	}
}
